package api.finance;

import conf.Url;
import util.HttpClientUtils;
import util.ResponseData;

import java.io.IOException;
import java.net.URISyntaxException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class RoseApi {
    private static final String receivable= Url.Base_Url+"consumer/receivableRecord/confirmreceivable";
    public ResponseData receivable(String collectionNumbers ) throws IOException, URISyntaxException {
        Map<String,Object> data=new HashMap<>();
        data.put("collectionNumbers",collectionNumbers);
        return HttpClientUtils.post_json(receivable,data);
    }

}
